/*! \file chatgui.h	
	This is the header file for chatgui.cpp
	
	This contains the ChatGUI class
*/

#ifndef CHAT_GUI_H
#define CHAT_GUI_H

#include "gui.h"

/**
	\class ChatGUI

	This includes a ScrollPanel with a TextArea in it, and a TextLine for text input.
	The output from the TextLine goes to the TextArea.

*/


class ChatGUI : public Container, public Listener {
private:
	TextLine chatBar;
	ScrollPanel sp;
	TextArea chatLog;
public:
	ChatGUI();
	virtual void onScroll( Event e );
	virtual void actionPerformed( Event e );
	virtual void onSize( Event e );
	virtual void layout();

};







#endif
